home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / amitcp / amitcp-api-22.lha / AmiTCP-2.2 / netinclude / fd / socket_lib.fd
Encoding:
Text File  |  1993-08-12  |  2.1 KB  |  66 lines

  1. *
  2. * $Id: socket_lib.fd,v 1.18 1993/08/05 21:01:58 jraja Exp $
  3. *
  4. * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  5. *                    Helsinki University of Technology, Finland.
  6. *                    All rights reserved.
  7. *
  8. * fd file for the "bsdsocket.library" version 1.1
  9. *
  10. * Created      : Mon Apr  5 10:19:13 1993 ppessi
  11. * Last modified: Thu Aug  5 23:40:19 1993 jraja
  12. *
  13. *
  14. ##base _SocketBase
  15. ##bias 30
  16. ##public
  17. *------ standard bsd socket system calls -----
  18. socket(domain, type, protocol)(d0/d1/d2)
  19. bind(s, name, namelen)(d0/a0/d1)
  20. listen(s, backlog)(d0/d1)
  21. accept(s, addr, addrlen)(d0/a0/a1)
  22. connect(s, name, namelen)(d0/a0/d1)
  23. sendto(s, msg, len, flags, to, tolen)(d0/a0/d1/d2/a1/d3)
  24. send(s, msg, len, flags)(d0/a0/d1/d2)
  25. recvfrom(s, buf, len, flags, from, fromlen)(d0/a0/d1/d2/a1/a2)
  26. recv(s, buf, len, flags)(d0/a0/d1/d2)
  27. shutdown(s, how)(d0/d1)
  28. setsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/d3)
  29. getsockopt(s, level, optname, optval, optlen)(d0/d1/d2/a0/a1)
  30. getsockname(s, hostname, namelen)(d0/a0/a1)
  31. getpeername(s, hostname, namelen)(d0/a0/a1)
  32. *------ generic system calls related to sockets
  33. IoctlSocket(d, request, argp)(d0/d1/a0)
  34. *------ AmiTCP/IP specific stuff
  35. CloseSocket(d)(d0)
  36. WaitSelect(nfds, readfds, writefds, execptfds, timeout, maskp)(d0/a0/a1/a2/a3/d1)
  37. SetSocketSignals(SIGINTR, SIGIO, SIGURG)(d0/d1/d2)
  38. SetDTableSize(size)(d0)
  39. ObtainSocket(id, domain, type, protocol)(d0/d1/d2/d3)
  40. ReleaseSocket(fd, id)(d0/d1)
  41. ReleaseCopyOfSocket(fd, id)(d0/d1)
  42. Errno()()
  43. SetErrnoPtr(errno_p, size)(a0/d0)
  44. *------ inet library calls related to inet address manipulation
  45. Inet_NtoA(in)(d0)
  46. inet_addr(cp)(a0)
  47. Inet_LnaOf(in)(d0)
  48. Inet_NetOf(in)(d0)
  49. Inet_MakeAddr(net, host)(d0/d1)
  50. inet_network(cp)(a0)
  51. *------ gethostbyname etc
  52. gethostbyname(name)(a0)
  53. gethostbyaddr(addr, len, type)(a0/d0/d1)
  54. getnetbyname(name)(a0)
  55. getnetbyaddr(net, type)(d0/d1)
  56. getservbyname(name, proto)(a0/a1)
  57. getservbyport(port, proto)(d0/a0)
  58. getprotobyname(name)(a0)
  59. getprotobynumber(proto)(d0) 
  60. *------ resolver functions
  61. *------ syslog functions
  62. Syslog(level, format, ap)(d0/a0/a1)
  63. *------ AmiTCP/IP 1.1 extensions
  64. Dup2Socket(fd1, fd2)(d0/d1)
  65. ##end
  66.